﻿using FreeSql;

namespace TK.FreeSqlExtension
{
    /// <summary>
    /// 数据库链接配置
    /// </summary>
    public class DbConnectionConfig
    {
        /// <summary>
        /// 标识
        /// </summary>
        public string DbKey { get; set; }

        /// <summary>
        /// 数据库类型：具体值查看FreeSql.DataType
        /// </summary>
        public DataType DataType { get; set; }

        /// <summary>
        /// 数据库连接字符串
        /// </summary>
        public string Connection { get; set; }
    }
}
